package com.cloudbroker.bcs.platform.dav.bizapi.constants.type;

/**
 * Created by lnq on 2016/10/24.
 */
public enum OperateInvestType {
    LIMIT(0,"限制"),
    ACTIVATI(1,"激活"),
    ;
    private final int val;
    private final String description;
    private String toString;

    OperateInvestType(int val, String description) {
        this.val = val;
        this.description = description;
    }

    public int getVal() {
        return val;
    }

    public String getDescription() {
        return description;
    }
    @Override
    public String toString() {
        if (null == toString) {
            toString = new StringBuilder().append("OperateInvestType[").append(val).append(':').append(description)
                    .append(']').toString();
        }
        return toString;
    }
}
